package com.fastCms.business.frame.pojo.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * 哈密瓜科技 版权所有 © Copyright 2019<br>
 *
 * @Description: 登录权限控制<br>
 * @Project: hami <br>
 * @CreateDate: Created in 2019/3/7 下午3:48 <br>
 * @Author: <a href="lsquan666@163.com">lsquan</a>
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@ApiModel(value = "ValidateCodeCheckPO", description = "")
public class ValidateCodeCheckPO {
    @ApiModelProperty(value = "验证码", example = "124351")
    @NotNull(message = "验证码不能为空")
    private String validateCode;

    @ApiModelProperty(value = "手机号码", example = "1445")
    private String phone;

    @ApiModelProperty(value = "验证场景(ValidateCodeSceneEnum): 1-注册 2-登录", example = "1")
    private Integer scene;

}
